package cn.com.coding.system.dao;

import cn.com.coding.system.domin.UserSchoolCheckEntity;
import cn.com.coding.system.domin.dto.UserSchoolCheckDto;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author mxz
 */
@Mapper
public interface UserSchoolCheckDao extends BaseMapper<UserSchoolCheckEntity> {

    IPage<UserSchoolCheckDto> selectMyPage(IPage<UserSchoolCheckDto> page, @Param(Constants.WRAPPER) QueryWrapper<UserSchoolCheckDto> queryWrapper);

    UserSchoolCheckDto getUserSchoolCheckDtoByPid(@Param("pid") String pid);
}
